<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: g3dxml::XMLIO Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceg3dxml.html">g3dxml</a></li><li class="navelem"><a class="el" href="classg3dxml_1_1_x_m_l_i_o.html">XMLIO</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classg3dxml_1_1_x_m_l_i_o-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">g3dxml::XMLIO Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_x_m_l_i_o_8h_source.html">XMLIO.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for g3dxml::XMLIO:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classg3dxml_1_1_x_m_l_i_o.png" usemap="#g3dxml::XMLIO_map" alt=""/>
  <map id="g3dxml::XMLIO_map" name="g3dxml::XMLIO_map">
<area href="classg3dxml_1_1_multi_t_i_n.html" alt="g3dxml::MultiTIN" shape="rect" coords="323,56,636,80"/>
<area href="classg3dxml_1_1_x_m_l_annotation_reader.html" alt="g3dxml::XMLAnnotationReader" shape="rect" coords="323,112,636,136"/>
<area href="classg3dxml_1_1_x_m_l_corner_point_grid_reader.html" alt="g3dxml::XMLCornerPointGridReader" shape="rect" coords="323,168,636,192"/>
<area href="classg3dxml_1_1_x_m_l_cuboid_volume_reader.html" alt="g3dxml::XMLCuboidVolumeReader" shape="rect" coords="323,224,636,248"/>
<area href="classg3dxml_1_1_x_m_l_feature_class_reader.html" alt="g3dxml::XMLFeatureClassReader" shape="rect" coords="323,280,636,304"/>
<area href="classg3dxml_1_1_x_m_l_feature_class_writer.html" alt="g3dxml::XMLFeatureClassWriter" shape="rect" coords="323,336,636,360"/>
<area href="classg3dxml_1_1_x_m_l_feature_reader.html" alt="g3dxml::XMLFeatureReader" shape="rect" coords="323,392,636,416"/>
<area href="classg3dxml_1_1_x_m_l_feature_type_style_reader.html" alt="g3dxml::XMLFeatureTypeStyleReader" shape="rect" coords="323,448,636,472"/>
<area href="classg3dxml_1_1_x_m_l_field_reader.html" alt="g3dxml::XMLFieldReader" shape="rect" coords="323,504,636,528"/>
<area href="classg3dxml_1_1_x_m_l_geo_discrete_coverage_reader.html" alt="g3dxml::XMLGeoDiscreteCoverageReader" shape="rect" coords="323,560,636,584"/>
<area href="classg3dxml_1_1_x_m_l_geo_discrete_coverage_symbolizer_reader.html" alt="g3dxml::XMLGeoDiscreteCoverageSymbolizerReader" shape="rect" coords="323,616,636,640"/>
<area href="classg3dxml_1_1_x_m_l_geometry_reader.html" alt="g3dxml::XMLGeometryReader" shape="rect" coords="323,672,636,696"/>
<area href="classg3dxml_1_1_x_m_l_geometry_writer.html" alt="g3dxml::XMLGeometryWriter" shape="rect" coords="323,728,636,752"/>
<area href="classg3dxml_1_1_x_m_l_layer_reader.html" alt="g3dxml::XMLLayerReader" shape="rect" coords="323,784,636,808"/>
<area href="classg3dxml_1_1_x_m_l_layer_writer.html" alt="g3dxml::XMLLayerWriter" shape="rect" coords="323,840,636,864"/>
<area href="classg3dxml_1_1_x_m_l_line_string_reader.html" alt="g3dxml::XMLLineStringReader" shape="rect" coords="323,896,636,920"/>
<area href="classg3dxml_1_1_x_m_l_line_symbolizer_reader.html" alt="g3dxml::XMLLineSymbolizerReader" shape="rect" coords="323,952,636,976"/>
<area href="classg3dxml_1_1_x_m_l_map_reader.html" alt="g3dxml::XMLMapReader" shape="rect" coords="323,1008,636,1032"/>
<area href="classg3dxml_1_1_x_m_l_material_reader.html" title="PBR材质参数读取方法。" alt="g3dxml::XMLMaterialReader" shape="rect" coords="323,1064,636,1088"/>
<area href="classg3dxml_1_1_x_m_l_model_reader.html" alt="g3dxml::XMLModelReader" shape="rect" coords="323,1120,636,1144"/>
<area href="classg3dxml_1_1_x_m_l_multi_line_string_reader.html" alt="g3dxml::XMLMultiLineStringReader" shape="rect" coords="323,1176,636,1200"/>
<area href="classg3dxml_1_1_x_m_l_multi_point_reader.html" alt="g3dxml::XMLMultiPointReader" shape="rect" coords="323,1232,636,1256"/>
<area href="classg3dxml_1_1_x_m_l_point_reader.html" alt="g3dxml::XMLPointReader" shape="rect" coords="323,1288,636,1312"/>
<area href="classg3dxml_1_1_x_m_l_point_symbolizer_reader.html" alt="g3dxml::XMLPointSymbolizerReader" shape="rect" coords="323,1344,636,1368"/>
<area href="classg3dxml_1_1_x_m_l_project_reader.html" alt="g3dxml::XMLProjectReader" shape="rect" coords="323,1400,636,1424"/>
<area href="classg3dxml_1_1_x_m_l_reader.html" title="从XML为你教案读取Geo3DML数据的工具类。" alt="g3dxml::XMLReader" shape="rect" coords="323,1456,636,1480"/>
<area href="classg3dxml_1_1_x_m_l_rectified_grid_reader.html" title="RectifiedGrid 数据读入方法。" alt="g3dxml::XMLRectifiedGridReader" shape="rect" coords="323,1512,636,1536"/>
<area href="classg3dxml_1_1_x_m_l_shape_property_writer.html" alt="g3dxml::XMLShapePropertyWriter" shape="rect" coords="323,1568,636,1592"/>
<area href="classg3dxml_1_1_x_m_l_style_reader.html" alt="g3dxml::XMLStyleReader" shape="rect" coords="323,1624,636,1648"/>
<area href="classg3dxml_1_1_x_m_l_style_rule_reader.html" alt="g3dxml::XMLStyleRuleReader" shape="rect" coords="323,1680,636,1704"/>
<area href="classg3dxml_1_1_x_m_l_surface_symbolizer_reader.html" alt="g3dxml::XMLSurfaceSymbolizerReader" shape="rect" coords="323,1736,636,1760"/>
<area href="classg3dxml_1_1_x_m_l_t_i_n_reader.html" alt="g3dxml::XMLTINReader" shape="rect" coords="323,1792,636,1816"/>
<area href="classg3dxml_1_1_x_m_l_tetrahedron_volume_reader.html" alt="g3dxml::XMLTetrahedronVolumeReader" shape="rect" coords="323,1848,636,1872"/>
<area href="classg3dxml_1_1_x_m_l_triangular_prism_volume_reader.html" title="广义三棱柱数据读入方法。" alt="g3dxml::XMLTriangularPrismVolumeReader" shape="rect" coords="323,1904,636,1928"/>
<area href="classg3dxml_1_1_x_m_l_truncated_regular_grid_reader.html" alt="g3dxml::XMLTruncatedRegularGridReader" shape="rect" coords="323,1960,636,1984"/>
<area href="classg3dxml_1_1_x_m_l_writer.html" alt="g3dxml::XMLWriter" shape="rect" coords="323,2016,636,2040"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2aa9d1d66c6d34a09487e3858411b8b6" id="r_a2aa9d1d66c6d34a09487e3858411b8b6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2aa9d1d66c6d34a09487e3858411b8b6">XMLIO</a> ()</td></tr>
<tr class="separator:a2aa9d1d66c6d34a09487e3858411b8b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54dedd449b82b119b0ac5a0e9b63df79" id="r_a54dedd449b82b119b0ac5a0e9b63df79"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a54dedd449b82b119b0ac5a0e9b63df79">~XMLIO</a> ()</td></tr>
<tr class="separator:a54dedd449b82b119b0ac5a0e9b63df79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90ebdf7ef7cec9abf1c1896f3fdd90d5" id="r_a90ebdf7ef7cec9abf1c1896f3fdd90d5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a90ebdf7ef7cec9abf1c1896f3fdd90d5">IsOK</a> () const</td></tr>
<tr class="separator:a90ebdf7ef7cec9abf1c1896f3fdd90d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b53bc63193205d2697d950a02ba8ad4" id="r_a8b53bc63193205d2697d950a02ba8ad4"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8b53bc63193205d2697d950a02ba8ad4">Error</a> () const</td></tr>
<tr class="separator:a8b53bc63193205d2697d950a02ba8ad4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a56138e21b9561640fb0d39eda11e6213" id="r_a56138e21b9561640fb0d39eda11e6213"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a56138e21b9561640fb0d39eda11e6213">SetStatus</a> (bool isOK, const std::string &amp;message=&quot;&quot;)</td></tr>
<tr class="separator:a56138e21b9561640fb0d39eda11e6213"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a33e2e87be99e77e202752336e4bd99aa" id="r_a33e2e87be99e77e202752336e4bd99aa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a33e2e87be99e77e202752336e4bd99aa">isOK_</a></td></tr>
<tr class="separator:a33e2e87be99e77e202752336e4bd99aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17d4d6902a9471f51a9ab90716b49155" id="r_a17d4d6902a9471f51a9ab90716b49155"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a17d4d6902a9471f51a9ab90716b49155">errorMessage_</a></td></tr>
<tr class="separator:a17d4d6902a9471f51a9ab90716b49155"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a2aa9d1d66c6d34a09487e3858411b8b6" name="a2aa9d1d66c6d34a09487e3858411b8b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2aa9d1d66c6d34a09487e3858411b8b6">&#9670;&#160;</a></span>XMLIO()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">g3dxml::XMLIO::XMLIO </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a54dedd449b82b119b0ac5a0e9b63df79" name="a54dedd449b82b119b0ac5a0e9b63df79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54dedd449b82b119b0ac5a0e9b63df79">&#9670;&#160;</a></span>~XMLIO()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual g3dxml::XMLIO::~XMLIO </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8b53bc63193205d2697d950a02ba8ad4" name="a8b53bc63193205d2697d950a02ba8ad4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b53bc63193205d2697d950a02ba8ad4">&#9670;&#160;</a></span>Error()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string g3dxml::XMLIO::Error </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a90ebdf7ef7cec9abf1c1896f3fdd90d5" name="a90ebdf7ef7cec9abf1c1896f3fdd90d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90ebdf7ef7cec9abf1c1896f3fdd90d5">&#9670;&#160;</a></span>IsOK()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool g3dxml::XMLIO::IsOK </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a56138e21b9561640fb0d39eda11e6213" name="a56138e21b9561640fb0d39eda11e6213"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56138e21b9561640fb0d39eda11e6213">&#9670;&#160;</a></span>SetStatus()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void g3dxml::XMLIO::SetStatus </td>
          <td>(</td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>isOK</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>message</em></span><span class="paramdefsep"> = </span><span class="paramdefval">&quot;&quot;</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a17d4d6902a9471f51a9ab90716b49155" name="a17d4d6902a9471f51a9ab90716b49155"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17d4d6902a9471f51a9ab90716b49155">&#9670;&#160;</a></span>errorMessage_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string g3dxml::XMLIO::errorMessage_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a33e2e87be99e77e202752336e4bd99aa" name="a33e2e87be99e77e202752336e4bd99aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33e2e87be99e77e202752336e4bd99aa">&#9670;&#160;</a></span>isOK_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool g3dxml::XMLIO::isOK_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/g3dxml/<a class="el" href="_x_m_l_i_o_8h_source.html">XMLIO.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
